<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 * Created by IntelliJ IDEA.
 * User: david.hoffer
 * Date: Dec 25, 2009
 * Time: 12:31:47 PM
 */
class RecordationAndTransferTaxes{

    private $recordationTax;
    private $statePropertyTransferTax;
    private $countyPropertyTransferTax;
    private $fees;
    private $payer;

    /**
     * This is used to support GWT serialization, do not use this constructor for other purposes.
     */
    public function RecordationAndTransferTaxes($statePropertyTransferTax, $countyPropertyTransferTax,
                                       $recordationTax , $fees, $payer) {
        $this->recordationTax = $recordationTax;
        $this->statePropertyTransferTax = $statePropertyTransferTax;
        $this->countyPropertyTransferTax = $countyPropertyTransferTax;
        $this->fees = $fees;
        $this->payer = $payer;
    }

    /**
     * Gets the recordation tax amount in dollars/cents.  If null, does not apply.
     *
     * @return recordation tax amount in dollars/cents
     */
    public function getRecordationTax() {
        return $this->recordationTax;
    }

    /**
     * Gets the state property transfer tax amount in dollars/cents.  If null, does not apply.
     *
     * @return state property transfer tax amount in dollars/cents
     */
    public function getStatePropertyTransferTax() {
        return $this->statePropertyTransferTax;
    }

    /**
     * Gets the county property transfer tax amount in dollars/cents.  If null, does not apply.
     *
     * @return county property transfer tax amount in dollars/cents
     */
    public function getCountyPropertyTransferTax() {
        return $this->countyPropertyTransferTax;
    }


    public function getFees() {
        return $this->fees;
    }

    /**
     * Used to specify who pays this tax if appropriate.  If null then not appropriate and there is only one
     * generalized payer.  I.e this is used for purchases not refinances.
     *
     * @return
     */
    public function getPayer() {
        return $this->payer;
    }
}
?>
